package ua.at.tsvetkov.samizdat.data;

public class Url {
	private final static String	SERVER			= "http://samlib.ru/cgi-bin/areader?q=";
	private final static String	BASE_URL			= "http://samlib.ru";
	private final static String	GENRE				= "jlist";
	private final static String	BOOKS				= "blist";
	private final static String	COUNTER			= "&counter=yes";
	private final static String	DATE				= "&date=";
	private final static String	BOOK_DOWNLOAD	= "book&object=";

	public static String getBaseUrl() {
		return new String(BASE_URL);
	}

	public static String getGenresUrl() {
		return new String(SERVER + GENRE);
	}

	public static String getBooksUrl() {
		return new String(SERVER + BOOKS);
	}

	public static String getBooksUrlWithCounter() {
		return new String(SERVER + BOOKS + COUNTER);
	}

	public static String getBooksUrlUpdate() {
		return new String(SERVER + BOOKS + DATE);
	}

	public static String getBookDownloadUrl() {
		return new String(SERVER + BOOK_DOWNLOAD);
	}

}
